package cn.bdqn.pn.pojo.commodity;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name="showtype")
public class Showtype  implements Serializable{
  public Showtype(){}
  public Showtype(Integer fatherId) {
    this.fatherId=fatherId;
  }

  public Integer getShowTypeId() {
    return showTypeId;
  }

  public void setShowTypeId(Integer showTypeId) {
    this.showTypeId = showTypeId;
  }

  public String getTypeName() {
    return typeName;
  }

  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }

  public Integer getFatherId() {
    return fatherId;
  }

  public void setFatherId(Integer fatherId) {
    this.fatherId = fatherId;
  }

  public String getMore1() {
    return more1;
  }

  public void setMore1(String more1) {
    this.more1 = more1;
  }

  public String getMore2() {
    return more2;
  }

  public void setMore2(String more2) {
    this.more2 = more2;
  }

  public String getMore3() {
    return more3;
  }

  public void setMore3(String more3) {
    this.more3 = more3;
  }

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Integer showTypeId;
  @Column(nullable = false)
  private String typeName;
  @Column(nullable = false)
  private Integer fatherId;
  private String more1;
  private String more2;
  private String more3;

}
